<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <script type="text/javascript">
            
            
              try {
                   
                    throw "这是抛出的错误"
                }catch(e) {
                    console.log([e]);
                    console.log("这里处理错误");
                      
                }

                console.log("错误后面的内容");
            

        
        </script
    </body>
</html>